projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492a406
)
Fix a typo
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 18 Apr 2016 18:38:12 +0000
(14:38 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 18 Apr 2016 18:38:12 +0000
(14:38 -0400)
We don't want to parse a weight twice, but a weight and a stretch.
gtk/gtkcssshorthandpropertyimpl.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssshorthandpropertyimpl.c
b/gtk/gtkcssshorthandpropertyimpl.c
index 4886395ee83d79b75d1fd10c96ebbded8c9fde6f..bd6058727759bf94a974e6fd4edf84532cf1b1e9 100644
(file)
--- a/
gtk/gtkcssshorthandpropertyimpl.c
+++ b/
gtk/gtkcssshorthandpropertyimpl.c
@@
-503,7
+503,7
@@
parse_font (GtkCssShorthandProperty *shorthand,
if (values[4] == NULL)
{
- values[4] = _gtk_css_font_
weight
_value_try_parse (parser);
+ values[4] = _gtk_css_font_
stretch
_value_try_parse (parser);
parsed_one = parsed_one || values[4] != NULL;
}
}